package com.meilingcloud.common.enums;

/**
 * 流程状态
 */
public enum StockStatus {

    UNDERWAY("0", "审批中"),
    SUCCESS("1", "通过"),
    FAIL("2", "拒绝"),
    AUTO("3", "自动通过"),
    REVOKE("4", "撤销"),
    ;

    private final String code;
    private final String info;

    StockStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
